<?php if (!defined('THINK_PATH')) exit();?><html>
<head>

</head>

<body>

<h1>欢迎 <?php echo (session('username')); ?> <?php echo (session('uid')); ?> <a href="./logout">退出</a> <?php echo (date("Y-m-d",$time )); ?></h1>
<table border="1"  width="600" cellpadding="10">
<tr>
    <th>id</th>
    <th>icnum</th>
	<th>ictype</th>
	<th>jztime</th>
	<th>yxtime</th>
	<th>iid</th>
  </tr>
<?php if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
    <th><?php echo ($vo["id"]); ?></th>
    <th><?php echo ($vo["icnum"]); ?></th>
	<th><?php echo ($vo["ictype"]); ?></th>
	<th><?php echo (date("Y-m-d",$vo["jztime"])); ?></th>
	<th><?php echo (date("Y-m-d",$vo["yxtime"])); ?></th>
	<th><?php echo ($vo["iid"]); ?></th>
	
  </tr><?php endforeach; endif; else: echo "" ;endif; ?>
  <tr><th colspan = " 4 "><button>添加新用户</button></th></tr>
</table>

</body>


</html>